package com.example.neusoftfood_828lhl.model;

import com.example.neusoftfood_828lhl.listener.RetrofitListener;
import com.example.neusoftfood_828lhl.service.FoodService;

import retrofit2.Call;

public class CollectModel extends RetrofitBaseModel {
    FoodService foodService;
    public void isCollected(String user_id, String shop_food_id, String flag, RetrofitListener listener) {
        Call call = foodService.isCollected(user_id,shop_food_id,flag);
        bindCallback(call,listener,2);
    }
}
